package com.ecable.serviceI;

import java.util.Vector;

import com.ecable.bean.VillageTO;
import com.ecable.exception.ConnectionException;
import com.ecable.exception.DataNotFoundException;
import com.ecable.exception.LoginException;

public interface VillageServiceI {
	
public boolean insertVillage(VillageTO vto) throws LoginException,ConnectionException;
	
	public VillageTO  viewVillageAt(int vid1)throws ConnectionException,DataNotFoundException;
	public Vector<VillageTO > viewVillage()throws ConnectionException,DataNotFoundException;
	
	public boolean deleteVillage(int vid) throws ConnectionException;
	public boolean updateVillage(VillageTO sf)throws ConnectionException;
	
	public Vector<VillageTO > viewVillage(String sname,String dname)throws ConnectionException, DataNotFoundException;
	
	public Vector<VillageTO > getVillageName(String dname)throws ConnectionException, DataNotFoundException;

}
